package com.sc.auction.common.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author Lsc
 * @since 2020-09-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Goods对象", description="")
public class Goods implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "商品类型")
    private Integer type;

    @ApiModelProperty(value = "商品名称")
    private String name;

    @TableField("creationDate")
    private Date creationDate;

    @TableField("createdBy")
    private String createdBy;

    @TableField("modifyDate")
    private Date modifyDate;

    @TableField("modifiedBy")
    private String modifiedBy;

    @ApiModelProperty(value = "估价")
    @TableField("assessPrice")
    private BigDecimal assessPrice;

    @TableField("description")
    private String description;

    @TableField("goodsCode")
    private String goodsCode;

    @TableField("userid")
    private Integer userid;

    @TableField("status")
    private Integer status;



}
